<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>esapi.codecs.html_entity</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="esapi-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="esapi-module.html">Package&nbsp;esapi</a> ::
        <a href="esapi.codecs-module.html">Package&nbsp;codecs</a> ::
        Module&nbsp;html_entity
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="esapi.codecs.html_entity-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="esapi.codecs.html_entity-module.html">Module esapi.codecs.html_entity</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/usr/bin/python</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"># -*- coding: utf-8 -*-</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-docstring">@license: OWASP Enterprise Security API (ESAPI)</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-docstring">     </tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-docstring">    This file is part of the Open Web Application Security Project (OWASP)</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-docstring">    Enterprise Security API (ESAPI) project. For details, please see</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-docstring">    U{http://www.owasp.org/index.php/ESAPI&lt;http://www.owasp.org/index.php/ESAPI&gt;}.</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-docstring">    The ESAPI is published by OWASP under the BSD license. You should read and </tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-docstring">    accept the LICENSE before you use, modify, and/or redistribute this software.</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-docstring">@summary: Implementation of the Codec interface for HTML entity encoding.</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-docstring">@copyright: Copyright (c) 2009 - The OWASP Foundation</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-docstring">@author: Craig Younkins (craig.younkins@owasp.org)</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Package esapi=esapi-module.html"><a title="esapi" class="py-name" href="#" onclick="return doclink('link-0', 'esapi', 'link-0');">esapi</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package esapi.codecs=esapi.codecs-module.html"><a title="esapi.codecs" class="py-name" href="#" onclick="return doclink('link-1', 'codecs', 'link-1');">codecs</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module esapi.codecs.codec=esapi.codecs.codec-module.html"><a title="esapi.codecs.codec" class="py-name" href="#" onclick="return doclink('link-2', 'codec', 'link-2');">codec</a></tt> <tt class="py-keyword">as</tt> <tt id="link-3" class="py-name"><a title="esapi.codecs.codec" class="py-name" href="#" onclick="return doclink('link-3', 'codec', 'link-2');">codec</a></tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-4" class="py-name"><a title="esapi" class="py-name" href="#" onclick="return doclink('link-4', 'esapi', 'link-0');">esapi</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="esapi.codecs" class="py-name" href="#" onclick="return doclink('link-5', 'codecs', 'link-1');">codecs</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Module esapi.codecs.push_back_string=esapi.codecs.push_back_string-module.html"><a title="esapi.codecs.push_back_string" class="py-name" href="#" onclick="return doclink('link-6', 'push_back_string', 'link-6');">push_back_string</a></tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<a name="HTMLEntityCodec"></a><div id="HTMLEntityCodec-def"><a name="L22"></a><tt class="py-lineno"> 22</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec-toggle" onclick="return toggle('HTMLEntityCodec');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html">HTMLEntityCodec</a><tt class="py-op">(</tt><tt class="py-base-class">codec</tt><tt class="py-op">.</tt><tt class="py-base-class">Codec</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="HTMLEntityCodec-expanded"><a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">    <tt class="py-docstring">"""</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-docstring">    Implementation of the Codec interface for HTML entity encoding.</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">    </tt>
<a name="HTMLEntityCodec.__init__"></a><div id="HTMLEntityCodec.__init__-def"><a name="L27"></a><tt class="py-lineno"> 27</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.__init__-toggle" onclick="return toggle('HTMLEntityCodec.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.__init__-expanded"><a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">        <tt id="link-7" class="py-name"><a title="esapi.codecs.codec" class="py-name" href="#" onclick="return doclink('link-7', 'codec', 'link-2');">codec</a></tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Class esapi.codecs.codec.Codec=esapi.codecs.codec.Codec-class.html"><a title="esapi.codecs.codec.Codec" class="py-name" href="#" onclick="return doclink('link-8', 'Codec', 'link-8');">Codec</a></tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method esapi.access_reference_map.AccessReferenceMap.__init__()=esapi.access_reference_map.AccessReferenceMap-class.html#__init__,Method esapi.authenticator.Authenticator.__init__()=esapi.authenticator.Authenticator-class.html#__init__,Method esapi.codecs.codec.Codec.__init__()=esapi.codecs.codec.Codec-class.html#__init__,Method esapi.codecs.css.CSSCodec.__init__()=esapi.codecs.css.CSSCodec-class.html#__init__,Method esapi.codecs.html_entity.HTMLEntityCodec.__init__()=esapi.codecs.html_entity.HTMLEntityCodec-class.html#__init__,Method esapi.codecs.javascript.JavascriptCodec.__init__()=esapi.codecs.javascript.JavascriptCodec-class.html#__init__,Method esapi.codecs.ldap.LDAPCodec.__init__()=esapi.codecs.ldap.LDAPCodec-class.html#__init__,Method esapi.codecs.ldap_dn.LDAPDNCodec.__init__()=esapi.codecs.ldap_dn.LDAPDNCodec-class.html#__init__,Method esapi.codecs.mysql.MySQLCodec.__init__()=esapi.codecs.mysql.MySQLCodec-class.html#__init__,Method esapi.codecs.oracle.OracleCodec.__init__()=esapi.codecs.oracle.OracleCodec-class.html#__init__,Method esapi.codecs.percent.PercentCodec.__init__()=esapi.codecs.percent.PercentCodec-class.html#__init__,Method esapi.codecs.push_back_string.PushbackString.__init__()=esapi.codecs.push_back_string.PushbackString-class.html#__init__,Method esapi.codecs.unix.UnixCodec.__init__()=esapi.codecs.unix.UnixCodec-class.html#__init__,Method esapi.codecs.vbscript.VBScriptCodec.__init__()=esapi.codecs.vbscript.VBScriptCodec-class.html#__init__,Method esapi.codecs.windows.WindowsCodec.__init__()=esapi.codecs.windows.WindowsCodec-class.html#__init__,Method esapi.encoder.Encoder.__init__()=esapi.encoder.Encoder-class.html#__init__,Method esapi.encryptor.Encryptor.__init__()=esapi.encryptor.Encryptor-class.html#__init__,Method esapi.exceptions.AccessControlException.__init__()=esapi.exceptions.AccessControlException-class.html#__init__,Method esapi.exceptions.AuthenticationAccountsException.__init__()=esapi.exceptions.AuthenticationAccountsException-class.html#__init__,Method esapi.exceptions.AuthenticationCredentialsException.__init__()=esapi.exceptions.AuthenticationCredentialsException-class.html#__init__,Method esapi.exceptions.AuthenticationException.__init__()=esapi.exceptions.AuthenticationException-class.html#__init__,Method esapi.exceptions.AuthenticationHostException.__init__()=esapi.exceptions.AuthenticationHostException-class.html#__init__,Method esapi.exceptions.AuthenticationLoginException.__init__()=esapi.exceptions.AuthenticationLoginException-class.html#__init__,Method esapi.exceptions.AvailabilityException.__init__()=esapi.exceptions.AvailabilityException-class.html#__init__,Method esapi.exceptions.CertificateException.__init__()=esapi.exceptions.CertificateException-class.html#__init__,Method esapi.exceptions.ConfigurationException.__init__()=esapi.exceptions.ConfigurationException-class.html#__init__,Method esapi.exceptions.EncodingException.__init__()=esapi.exceptions.EncodingException-class.html#__init__,Method esapi.exceptions.EncryptionException.__init__()=esapi.exceptions.EncryptionException-class.html#__init__,Method esapi.exceptions.EnterpriseSecurityException.__init__()=esapi.exceptions.EnterpriseSecurityException-class.html#__init__,Method esapi.exceptions.ExecutorException.__init__()=esapi.exceptions.ExecutorException-class.html#__init__,Method esapi.exceptions.IntegrityException.__init__()=esapi.exceptions.IntegrityException-class.html#__init__,Method esapi.exceptions.IntrusionException.__init__()=esapi.exceptions.IntrusionException-class.html#__init__,Method esapi.exceptions.ValidationAvailabilityException.__init__()=esapi.exceptions.ValidationAvailabilityException-class.html#__init__,Method esapi.exceptions.ValidationException.__init__()=esapi.exceptions.ValidationException-class.html#__init__,Method esapi.exceptions.ValidationUploadException.__init__()=esapi.exceptions.ValidationUploadException-class.html#__init__,Method esapi.executor.Executor.__init__()=esapi.executor.Executor-class.html#__init__,Method esapi.http_utilities.HTTPUtilities.__init__()=esapi.http_utilities.HTTPUtilities-class.html#__init__,Method esapi.ihttp.IHttpRequest.__init__()=esapi.ihttp.IHttpRequest-class.html#__init__,Method esapi.ihttp.IHttpResponse.__init__()=esapi.ihttp.IHttpResponse-class.html#__init__,Method esapi.ihttp.ISession.__init__()=esapi.ihttp.ISession-class.html#__init__,Method esapi.log_factory.LogFactory.__init__()=esapi.log_factory.LogFactory-class.html#__init__,Method esapi.logger.Logger.EventType.__init__()=esapi.logger.Logger.EventType-class.html#__init__,Method esapi.logger.Logger.__init__()=esapi.logger.Logger-class.html#__init__,Method esapi.randomizer.Randomizer.__init__()=esapi.randomizer.Randomizer-class.html#__init__,Method esapi.reference.default_encoder.DefaultEncoder.__init__()=esapi.reference.default_encoder.DefaultEncoder-class.html#__init__,Method esapi.reference.default_encryptor.DefaultEncryptor.__init__()=esapi.reference.default_encryptor.DefaultEncryptor-class.html#__init__,Method esapi.reference.default_executor.DefaultExecutor.__init__()=esapi.reference.default_executor.DefaultExecutor-class.html#__init__,Method esapi.reference.default_http_utilities.DefaultHTTPUtilities.__init__()=esapi.reference.default_http_utilities.DefaultHTTPUtilities-class.html#__init__,Method esapi.reference.default_intrusion_detector.DefaultIntrusionDetector.Event.__init__()=esapi.reference.default_intrusion_detector.DefaultIntrusionDetector.Event-class.html#__init__,Method esapi.reference.default_intrusion_detector.DefaultIntrusionDetector.__init__()=esapi.reference.default_intrusion_detector.DefaultIntrusionDetector-class.html#__init__,Method esapi.reference.default_randomizer.DefaultRandomizer.__init__()=esapi.reference.default_randomizer.DefaultRandomizer-class.html#__init__,Method esapi.reference.default_security_configuration.DefaultSecurityConfiguration.__init__()=esapi.reference.default_security_configuration.DefaultSecurityConfiguration-class.html#__init__,Method esapi.reference.default_user.DefaultUser.__init__()=esapi.reference.default_user.DefaultUser-class.html#__init__,Method esapi.reference.default_validator.DefaultValidator.__init__()=esapi.reference.default_validator.DefaultValidator-class.html#__init__,Method esapi.reference.file_based_access_controller.FileBasedAccessController.__init__()=esapi.reference.file_based_access_controller.FileBasedAccessController-class.html#__init__,Method esapi.reference.file_based_access_controller.Rule.__init__()=esapi.reference.file_based_access_controller.Rule-class.html#__init__,Method esapi.reference.python_log_factory.PythonLogFactory.PythonLogger.__init__()=esapi.reference.python_log_factory.PythonLogFactory.PythonLogger-class.html#__init__,Method esapi.reference.python_log_factory.PythonLogFactory.__init__()=esapi.reference.python_log_factory.PythonLogFactory-class.html#__init__,Method esapi.reference.random_access_reference_map.RandomAccessReferenceMap.__init__()=esapi.reference.random_access_reference_map.RandomAccessReferenceMap-class.html#__init__,Method esapi.reference.shelve_authenticator.ShelveAuthenticator.__init__()=esapi.reference.shelve_authenticator.ShelveAuthenticator-class.html#__init__,Method esapi.reference.user_credentials.UserCredentials.__init__()=esapi.reference.user_credentials.UserCredentials-class.html#__init__,Method esapi.reference.validation.base_validation_rule.BaseValidationRule.__init__()=esapi.reference.validation.base_validation_rule.BaseValidationRule-class.html#__init__,Method esapi.reference.validation.credit_card_validation_rule.CreditCardValidationRule.__init__()=esapi.reference.validation.credit_card_validation_rule.CreditCardValidationRule-class.html#__init__,Method esapi.reference.validation.date_validation_rule.DateValidationRule.__init__()=esapi.reference.validation.date_validation_rule.DateValidationRule-class.html#__init__,Method esapi.reference.validation.number_validation_rule.NumberValidationRule.__init__()=esapi.reference.validation.number_validation_rule.NumberValidationRule-class.html#__init__,Method esapi.reference.validation.string_validation_rule.StringValidationRule.__init__()=esapi.reference.validation.string_validation_rule.StringValidationRule-class.html#__init__,Method esapi.security_configuration.SecurityConfiguration.Threshold.__init__()=esapi.security_configuration.SecurityConfiguration.Threshold-class.html#__init__,Method esapi.security_configuration.SecurityConfiguration.__init__()=esapi.security_configuration.SecurityConfiguration-class.html#__init__,Method esapi.test.http.mock_http_request.MockHttpRequest.__init__()=esapi.test.http.mock_http_request.MockHttpRequest-class.html#__init__,Method esapi.test.http.mock_http_response.MockHttpResponse.__init__()=esapi.test.http.mock_http_response.MockHttpResponse-class.html#__init__,Method esapi.test.http.mock_session.MockSession.__init__()=esapi.test.http.mock_session.MockSession-class.html#__init__,Method esapi.test.test_access_controller.AccessControllerTest.__init__()=esapi.test.test_access_controller.AccessControllerTest-class.html#__init__,Method esapi.test.test_authenticator.ValidatorTest.__init__()=esapi.test.test_authenticator.ValidatorTest-class.html#__init__,Method esapi.test.test_encoder.EncoderTest.__init__()=esapi.test.test_encoder.EncoderTest-class.html#__init__,Method esapi.test.test_encryptor.EncryptorTest.__init__()=esapi.test.test_encryptor.EncryptorTest-class.html#__init__,Method esapi.test.test_executor.ExecutorTest.__init__()=esapi.test.test_executor.ExecutorTest-class.html#__init__,Method esapi.test.test_http_utilities.HTTPUtilitiesTest.__init__()=esapi.test.test_http_utilities.HTTPUtilitiesTest-class.html#__init__,Method esapi.test.test_intrusion_detector.IntrusionDetectorTest.__init__()=esapi.test.test_intrusion_detector.IntrusionDetectorTest-class.html#__init__,Method esapi.test.test_logger.LoggerTest.__init__()=esapi.test.test_logger.LoggerTest-class.html#__init__,Method esapi.test.test_random_access_map.ARMTest.__init__()=esapi.test.test_random_access_map.ARMTest-class.html#__init__,Method esapi.test.test_randomizer.RandomizerTest.__init__()=esapi.test.test_randomizer.RandomizerTest-class.html#__init__,Method esapi.test.test_user.UserTest.__init__()=esapi.test.test_user.UserTest-class.html#__init__,Method esapi.test.test_validator.ValidatorTest.__init__()=esapi.test.test_validator.ValidatorTest-class.html#__init__,Method esapi.user.AnonymousUser.__init__()=esapi.user.AnonymousUser-class.html#__init__,Method esapi.user.User.__init__()=esapi.user.User-class.html#__init__,Method esapi.validator.Validator.__init__()=esapi.validator.Validator-class.html#__init__"><a title="esapi.access_reference_map.AccessReferenceMap.__init__
esapi.authenticator.Authenticator.__init__
esapi.codecs.codec.Codec.__init__
esapi.codecs.css.CSSCodec.__init__
esapi.codecs.html_entity.HTMLEntityCodec.__init__
esapi.codecs.javascript.JavascriptCodec.__init__
esapi.codecs.ldap.LDAPCodec.__init__
esapi.codecs.ldap_dn.LDAPDNCodec.__init__
esapi.codecs.mysql.MySQLCodec.__init__
esapi.codecs.oracle.OracleCodec.__init__
esapi.codecs.percent.PercentCodec.__init__
esapi.codecs.push_back_string.PushbackString.__init__
esapi.codecs.unix.UnixCodec.__init__
esapi.codecs.vbscript.VBScriptCodec.__init__
esapi.codecs.windows.WindowsCodec.__init__
esapi.encoder.Encoder.__init__
esapi.encryptor.Encryptor.__init__
esapi.exceptions.AccessControlException.__init__
esapi.exceptions.AuthenticationAccountsException.__init__
esapi.exceptions.AuthenticationCredentialsException.__init__
esapi.exceptions.AuthenticationException.__init__
esapi.exceptions.AuthenticationHostException.__init__
esapi.exceptions.AuthenticationLoginException.__init__
esapi.exceptions.AvailabilityException.__init__
esapi.exceptions.CertificateException.__init__
esapi.exceptions.ConfigurationException.__init__
esapi.exceptions.EncodingException.__init__
esapi.exceptions.EncryptionException.__init__
esapi.exceptions.EnterpriseSecurityException.__init__
esapi.exceptions.ExecutorException.__init__
esapi.exceptions.IntegrityException.__init__
esapi.exceptions.IntrusionException.__init__
esapi.exceptions.ValidationAvailabilityException.__init__
esapi.exceptions.ValidationException.__init__
esapi.exceptions.ValidationUploadException.__init__
esapi.executor.Executor.__init__
esapi.http_utilities.HTTPUtilities.__init__
esapi.ihttp.IHttpRequest.__init__
esapi.ihttp.IHttpResponse.__init__
esapi.ihttp.ISession.__init__
esapi.log_factory.LogFactory.__init__
esapi.logger.Logger.EventType.__init__
esapi.logger.Logger.__init__
esapi.randomizer.Randomizer.__init__
esapi.reference.default_encoder.DefaultEncoder.__init__
esapi.reference.default_encryptor.DefaultEncryptor.__init__
esapi.reference.default_executor.DefaultExecutor.__init__
esapi.reference.default_http_utilities.DefaultHTTPUtilities.__init__
esapi.reference.default_intrusion_detector.DefaultIntrusionDetector.Event.__init__
esapi.reference.default_intrusion_detector.DefaultIntrusionDetector.__init__
esapi.reference.default_randomizer.DefaultRandomizer.__init__
esapi.reference.default_security_configuration.DefaultSecurityConfiguration.__init__
esapi.reference.default_user.DefaultUser.__init__
esapi.reference.default_validator.DefaultValidator.__init__
esapi.reference.file_based_access_controller.FileBasedAccessController.__init__
esapi.reference.file_based_access_controller.Rule.__init__
esapi.reference.python_log_factory.PythonLogFactory.PythonLogger.__init__
esapi.reference.python_log_factory.PythonLogFactory.__init__
esapi.reference.random_access_reference_map.RandomAccessReferenceMap.__init__
esapi.reference.shelve_authenticator.ShelveAuthenticator.__init__
esapi.reference.user_credentials.UserCredentials.__init__
esapi.reference.validation.base_validation_rule.BaseValidationRule.__init__
esapi.reference.validation.credit_card_validation_rule.CreditCardValidationRule.__init__
esapi.reference.validation.date_validation_rule.DateValidationRule.__init__
esapi.reference.validation.number_validation_rule.NumberValidationRule.__init__
esapi.reference.validation.string_validation_rule.StringValidationRule.__init__
esapi.security_configuration.SecurityConfiguration.Threshold.__init__
esapi.security_configuration.SecurityConfiguration.__init__
esapi.test.http.mock_http_request.MockHttpRequest.__init__
esapi.test.http.mock_http_response.MockHttpResponse.__init__
esapi.test.http.mock_session.MockSession.__init__
esapi.test.test_access_controller.AccessControllerTest.__init__
esapi.test.test_authenticator.ValidatorTest.__init__
esapi.test.test_encoder.EncoderTest.__init__
esapi.test.test_encryptor.EncryptorTest.__init__
esapi.test.test_executor.ExecutorTest.__init__
esapi.test.test_http_utilities.HTTPUtilitiesTest.__init__
esapi.test.test_intrusion_detector.IntrusionDetectorTest.__init__
esapi.test.test_logger.LoggerTest.__init__
esapi.test.test_random_access_map.ARMTest.__init__
esapi.test.test_randomizer.RandomizerTest.__init__
esapi.test.test_user.UserTest.__init__
esapi.test.test_validator.ValidatorTest.__init__
esapi.user.AnonymousUser.__init__
esapi.user.User.__init__
esapi.validator.Validator.__init__" class="py-name" href="#" onclick="return doclink('link-9', '__init__', 'link-9');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_values_to_names</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_names_to_values</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">     </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method esapi.codecs.html_entity.HTMLEntityCodec.initialize_dicts()=esapi.codecs.html_entity.HTMLEntityCodec-class.html#initialize_dicts"><a title="esapi.codecs.html_entity.HTMLEntityCodec.initialize_dicts" class="py-name" href="#" onclick="return doclink('link-10', 'initialize_dicts', 'link-10');">initialize_dicts</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">     </tt>
<a name="HTMLEntityCodec.encode_character"></a><div id="HTMLEntityCodec.encode_character-def"><a name="L34"></a><tt class="py-lineno"> 34</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.encode_character-toggle" onclick="return toggle('HTMLEntityCodec.encode_character');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#encode_character">encode_character</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">immune</tt><tt class="py-op">,</tt> <tt class="py-param">char</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.encode_character-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.encode_character-expanded"><a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt class="py-docstring">        Encodes a character for safe use in an HTML entity field.</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">         </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">        <tt class="py-comment"># Check for immune</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">char</tt> <tt class="py-keyword">in</tt> <tt class="py-name">immune</tt><tt class="py-op">:</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">char</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">             </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">        <tt class="py-comment"># Only look at 8-bit </tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-11" class="py-name"><a title="esapi.codecs.codec" class="py-name" href="#" onclick="return doclink('link-11', 'codec', 'link-2');">codec</a></tt><tt class="py-op">.</tt><tt class="py-name">is_8bit</tt><tt class="py-op">(</tt><tt class="py-name">char</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">char</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">         </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">        <tt class="py-comment"># Pass alphanumerics</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">char</tt><tt class="py-op">.</tt><tt class="py-name">isalnum</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>   </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">char</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">             </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">        <tt class="py-comment"># Check for illegal characters</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt id="link-12" class="py-name"><a title="esapi.codecs.codec" class="py-name" href="#" onclick="return doclink('link-12', 'codec', 'link-2');">codec</a></tt><tt class="py-op">.</tt><tt class="py-name">is_control_char</tt><tt class="py-op">(</tt><tt class="py-name">char</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt>  </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">                   <tt class="py-name">char</tt> <tt class="py-op">!=</tt> <tt class="py-string">"\t"</tt> <tt class="py-keyword">and</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">                   <tt class="py-name">char</tt> <tt class="py-op">!=</tt> <tt class="py-string">"\n"</tt> <tt class="py-keyword">and</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">                   <tt class="py-name">char</tt> <tt class="py-op">!=</tt> <tt class="py-string">"\r"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-string">" "</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">           </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt class="py-comment"># Check if there's a defined entity</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-name">entity_name</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_values_to_names</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method esapi.ihttp.ISession.get()=esapi.ihttp.ISession-class.html#get,Method esapi.test.http.mock_session.MockSession.get()=esapi.test.http.mock_session.MockSession-class.html#get"><a title="esapi.ihttp.ISession.get
esapi.test.http.mock_session.MockSession.get" class="py-name" href="#" onclick="return doclink('link-13', 'get', 'link-13');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">ord</tt><tt class="py-op">(</tt><tt class="py-name">char</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">entity_name</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-string">"&amp;"</tt> <tt class="py-op">+</tt> <tt class="py-name">entity_name</tt> <tt class="py-op">+</tt> <tt class="py-string">";"</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">             </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-comment"># Return the hex entity as suggested in the spec</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-name">hex_str</tt> <tt class="py-op">=</tt> <tt id="link-14" class="py-name"><a title="esapi.codecs.codec" class="py-name" href="#" onclick="return doclink('link-14', 'codec', 'link-2');">codec</a></tt><tt class="py-op">.</tt><tt class="py-name">get_hex_for_char</tt><tt class="py-op">(</tt><tt class="py-name">char</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">"&amp;#x"</tt> <tt class="py-op">+</tt> <tt class="py-name">hex_str</tt> <tt class="py-op">+</tt> <tt class="py-string">";"</tt> </tt>
</div><a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">     </tt>
<a name="HTMLEntityCodec.decode_character"></a><div id="HTMLEntityCodec.decode_character-def"><a name="L67"></a><tt class="py-lineno"> 67</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.decode_character-toggle" onclick="return toggle('HTMLEntityCodec.decode_character');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#decode_character">decode_character</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pbs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.decode_character-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.decode_character-expanded"><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"><tt class="py-docstring">        Attempts to decode an HTML encoded string such as &amp;lt; or &amp;#x74; into</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"><tt class="py-docstring">        its value.</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method esapi.codecs.push_back_string.PushbackString.mark()=esapi.codecs.push_back_string.PushbackString-class.html#mark"><a title="esapi.codecs.push_back_string.PushbackString.mark" class="py-name" href="#" onclick="return doclink('link-15', 'mark', 'link-15');">mark</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">         </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">        <tt class="py-name">first</tt> <tt class="py-op">=</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Method esapi.codecs.push_back_string.PushbackString.next()=esapi.codecs.push_back_string.PushbackString-class.html#next"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-16', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">first</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">            <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Method esapi.codecs.push_back_string.PushbackString.reset()=esapi.codecs.push_back_string.PushbackString-class.html#reset"><a title="esapi.codecs.push_back_string.PushbackString.reset" class="py-name" href="#" onclick="return doclink('link-17', 'reset', 'link-17');">reset</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">             </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">        <tt class="py-comment"># if this is not an encoded character, return none</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">first</tt> <tt class="py-op">!=</tt> <tt class="py-string">'&amp;'</tt><tt class="py-op">:</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">            <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.reset" class="py-name" href="#" onclick="return doclink('link-18', 'reset', 'link-17');">reset</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">             </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-name">second</tt> <tt class="py-op">=</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-19', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">second</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">            <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.reset" class="py-name" href="#" onclick="return doclink('link-20', 'reset', 'link-17');">reset</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">             </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">second</tt> <tt class="py-op">==</tt> <tt class="py-string">'#'</tt><tt class="py-op">:</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">            <tt class="py-comment"># Handle numbers</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">            <tt class="py-name">char</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Method esapi.codecs.html_entity.HTMLEntityCodec.get_numeric_entity()=esapi.codecs.html_entity.HTMLEntityCodec-class.html#get_numeric_entity"><a title="esapi.codecs.html_entity.HTMLEntityCodec.get_numeric_entity" class="py-name" href="#" onclick="return doclink('link-21', 'get_numeric_entity', 'link-21');">get_numeric_entity</a></tt><tt class="py-op">(</tt><tt class="py-name">pbs</tt><tt class="py-op">)</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">char</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt>  </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">char</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">second</tt><tt class="py-op">.</tt><tt class="py-name">isalpha</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">            <tt class="py-comment"># Handle entities</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">            <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name" targets="Method esapi.codecs.push_back_string.PushbackString.pushback()=esapi.codecs.push_back_string.PushbackString-class.html#pushback"><a title="esapi.codecs.push_back_string.PushbackString.pushback" class="py-name" href="#" onclick="return doclink('link-22', 'pushback', 'link-22');">pushback</a></tt><tt class="py-op">(</tt><tt class="py-name">second</tt><tt class="py-op">)</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">            <tt class="py-name">char</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name" targets="Method esapi.codecs.html_entity.HTMLEntityCodec.get_named_entity()=esapi.codecs.html_entity.HTMLEntityCodec-class.html#get_named_entity"><a title="esapi.codecs.html_entity.HTMLEntityCodec.get_named_entity" class="py-name" href="#" onclick="return doclink('link-23', 'get_named_entity', 'link-23');">get_named_entity</a></tt><tt class="py-op">(</tt><tt class="py-name">pbs</tt><tt class="py-op">)</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">char</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt>  </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">char</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">             </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.reset" class="py-name" href="#" onclick="return doclink('link-24', 'reset', 'link-17');">reset</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">         </tt>
<a name="HTMLEntityCodec.get_numeric_entity"></a><div id="HTMLEntityCodec.get_numeric_entity-def"><a name="L104"></a><tt class="py-lineno">104</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.get_numeric_entity-toggle" onclick="return toggle('HTMLEntityCodec.get_numeric_entity');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#get_numeric_entity">get_numeric_entity</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pbs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.get_numeric_entity-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.get_numeric_entity-expanded"><a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"><tt class="py-docstring">        Checks input to see if it is a numeric entity and returns it if it is.</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"><tt class="py-docstring">        @param pbs: the PushbackString </tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"><tt class="py-docstring">        @return: None if the input is None, or the character of pbs after </tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"><tt class="py-docstring">            decoding</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">         </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-name">first</tt> <tt class="py-op">=</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name" targets="Method esapi.codecs.push_back_string.PushbackString.peek()=esapi.codecs.push_back_string.PushbackString-class.html#peek"><a title="esapi.codecs.push_back_string.PushbackString.peek" class="py-name" href="#" onclick="return doclink('link-25', 'peek', 'link-25');">peek</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">first</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt>  </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">         </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">first</tt> <tt class="py-op">==</tt> <tt class="py-string">'x'</tt> <tt class="py-keyword">or</tt> <tt class="py-name">first</tt> <tt class="py-op">==</tt> <tt class="py-string">'X'</tt><tt class="py-op">:</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">            <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-26', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method esapi.codecs.html_entity.HTMLEntityCodec.parse_hex()=esapi.codecs.html_entity.HTMLEntityCodec-class.html#parse_hex"><a title="esapi.codecs.html_entity.HTMLEntityCodec.parse_hex" class="py-name" href="#" onclick="return doclink('link-27', 'parse_hex', 'link-27');">parse_hex</a></tt><tt class="py-op">(</tt><tt class="py-name">pbs</tt><tt class="py-op">)</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">         </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method esapi.codecs.html_entity.HTMLEntityCodec.parse_number()=esapi.codecs.html_entity.HTMLEntityCodec-class.html#parse_number"><a title="esapi.codecs.html_entity.HTMLEntityCodec.parse_number" class="py-name" href="#" onclick="return doclink('link-28', 'parse_number', 'link-28');">parse_number</a></tt><tt class="py-op">(</tt><tt class="py-name">pbs</tt><tt class="py-op">)</tt> </tt>
</div><a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">         </tt>
<a name="HTMLEntityCodec.parse_number"></a><div id="HTMLEntityCodec.parse_number-def"><a name="L123"></a><tt class="py-lineno">123</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.parse_number-toggle" onclick="return toggle('HTMLEntityCodec.parse_number');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#parse_number">parse_number</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pbs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.parse_number-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.parse_number-expanded"><a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"><tt class="py-docstring">        Parse a decimal number, such as those from Javascript's </tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"><tt class="py-docstring">        String.fromCharCode(value)</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line"><tt class="py-docstring">        @param pbs: the PushbackString</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line"><tt class="py-docstring">        @return: character representation of the decimal value</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">        <tt class="py-name">buf</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">         </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">        <tt class="py-keyword">while</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Method esapi.codecs.push_back_string.PushbackString.has_next()=esapi.codecs.push_back_string.PushbackString-class.html#has_next"><a title="esapi.codecs.push_back_string.PushbackString.has_next" class="py-name" href="#" onclick="return doclink('link-29', 'has_next', 'link-29');">has_next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">            <tt class="py-name">peek_char</tt> <tt class="py-op">=</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.peek" class="py-name" href="#" onclick="return doclink('link-30', 'peek', 'link-25');">peek</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">peek_char</tt><tt class="py-op">.</tt><tt class="py-name">isdigit</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">                <tt class="py-comment"># If character is a digit than add it on and keep going</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">                <tt class="py-name">buf</tt> <tt class="py-op">+=</tt> <tt class="py-name">peek_char</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">                <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-31', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">            <tt class="py-keyword">elif</tt> <tt class="py-name">peek_char</tt> <tt class="py-op">==</tt> <tt class="py-string">';'</tt><tt class="py-op">:</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">                <tt class="py-comment"># if character is a semi-colon, eat it and quit</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">                <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-32', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">                <tt class="py-keyword">break</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">                <tt class="py-comment"># Otherwise, just quit</tt> </tt>
<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line">                <tt class="py-keyword">break</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">            <tt class="py-name">i</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">buf</tt><tt class="py-op">)</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">unichr</tt><tt class="py-op">(</tt><tt class="py-name">i</tt><tt class="py-op">)</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">:</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">            <tt class="py-comment"># Throw an exception for a malformed entity?</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">             </tt>
<a name="HTMLEntityCodec.parse_hex"></a><div id="HTMLEntityCodec.parse_hex-def"><a name="L153"></a><tt class="py-lineno">153</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.parse_hex-toggle" onclick="return toggle('HTMLEntityCodec.parse_hex');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#parse_hex">parse_hex</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pbs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.parse_hex-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.parse_hex-expanded"><a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"><tt class="py-docstring">        Parse a hex encoded entity</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line"><tt class="py-docstring">        @param pbs: the PushbackString</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"><tt class="py-docstring">        @return: a single character from the string</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">        <tt class="py-name">buf</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">         </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">        <tt class="py-keyword">while</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.has_next" class="py-name" href="#" onclick="return doclink('link-33', 'has_next', 'link-29');">has_next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">            <tt class="py-name">char</tt> <tt class="py-op">=</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.peek" class="py-name" href="#" onclick="return doclink('link-34', 'peek', 'link-25');">peek</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">             </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt id="link-35" class="py-name"><a title="esapi" class="py-name" href="#" onclick="return doclink('link-35', 'esapi', 'link-0');">esapi</a></tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="esapi.codecs" class="py-name" href="#" onclick="return doclink('link-36', 'codecs', 'link-1');">codecs</a></tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="esapi.codecs.push_back_string" class="py-name" href="#" onclick="return doclink('link-37', 'push_back_string', 'link-6');">push_back_string</a></tt><tt class="py-op">.</tt><tt class="py-name">is_hex_digit</tt><tt class="py-op">(</tt><tt class="py-name">char</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">                <tt class="py-comment"># If char is a hex digit than add it on and keep going</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">                <tt class="py-name">buf</tt> <tt class="py-op">+=</tt> <tt class="py-name">char</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">                <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-38', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">            <tt class="py-keyword">elif</tt> <tt class="py-name">char</tt> <tt class="py-op">==</tt> <tt class="py-string">';'</tt><tt class="py-op">:</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">                <tt class="py-comment"># if the character is a semi-colon, eat it and quit</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">                <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-39', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">                <tt class="py-keyword">break</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">                <tt class="py-comment"># malformed, just quit</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">                <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.reset" class="py-name" href="#" onclick="return doclink('link-40', 'reset', 'link-17');">reset</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">            <tt class="py-name">i</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">buf</tt><tt class="py-op">,</tt> <tt class="py-number">16</tt><tt class="py-op">)</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">unichr</tt><tt class="py-op">(</tt><tt class="py-name">i</tt><tt class="py-op">)</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">:</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">            <tt class="py-comment"># Throw an exception for a malformed entity?</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">             </tt>
<a name="HTMLEntityCodec.get_named_entity"></a><div id="HTMLEntityCodec.get_named_entity-def"><a name="L184"></a><tt class="py-lineno">184</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.get_named_entity-toggle" onclick="return toggle('HTMLEntityCodec.get_named_entity');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#get_named_entity">get_named_entity</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pbs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.get_named_entity-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.get_named_entity-expanded"><a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line"><tt class="py-docstring">        Returns the decoded version of the character starting at index, or</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line"><tt class="py-docstring">        None if no decoding is possible.</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line"><tt class="py-docstring">        Formats all are legal both with and without semi-colon, upper/lower</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line"><tt class="py-docstring">        case:</tt> </tt>
<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line"><tt class="py-docstring">        &amp;aa;</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line"><tt class="py-docstring">        &amp;aaa;</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line"><tt class="py-docstring">        &amp;aaaa;</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line"><tt class="py-docstring">        &amp;aaaaa;</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line"><tt class="py-docstring">        &amp;aaaaaa;</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"><tt class="py-docstring">        &amp;aaaaaaa;</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line"><tt class="py-docstring">        @param pbs: a PushBackString containing a named entity like &amp;quot;</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line"><tt class="py-docstring">        @return: the decoded version of the character starting at index, or</tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line"><tt class="py-docstring">        None if no decoding is possible.</tt> </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">         </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">        <tt class="py-comment"># search through the rest of the string up to 6 characters</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line">        <tt class="py-name">possible</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line">        <tt class="py-name">len_to_go</tt> <tt class="py-op">=</tt> <tt class="py-name">min</tt><tt class="py-op">(</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method esapi.codecs.push_back_string.PushbackString.remainder()=esapi.codecs.push_back_string.PushbackString-class.html#remainder"><a title="esapi.codecs.push_back_string.PushbackString.remainder" class="py-name" href="#" onclick="return doclink('link-41', 'remainder', 'link-41');">remainder</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-number">7</tt> <tt class="py-op">)</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">len_to_go</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">            <tt class="py-name">possible</tt> <tt class="py-op">+=</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-42', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line">            <tt class="py-name">entity1</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_names_to_values</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="esapi.ihttp.ISession.get
esapi.test.http.mock_session.MockSession.get" class="py-name" href="#" onclick="return doclink('link-43', 'get', 'link-13');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">possible</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line">            <tt class="py-name">entity2</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_names_to_values</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="esapi.ihttp.ISession.get
esapi.test.http.mock_session.MockSession.get" class="py-name" href="#" onclick="return doclink('link-44', 'get', 'link-13');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">possible</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">            <tt class="py-name">entity</tt> <tt class="py-op">=</tt> <tt class="py-name">entity1</tt> <tt class="py-keyword">or</tt> <tt class="py-name">entity2</tt> </tt>
<a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">entity</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line">                <tt class="py-comment"># Eat any trailing semicolons</tt> </tt>
<a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.peek" class="py-name" href="#" onclick="return doclink('link-45', 'peek', 'link-25');">peek</a></tt><tt class="py-op">(</tt><tt class="py-string">';'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line">                    <tt class="py-name">pbs</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="esapi.codecs.push_back_string.PushbackString.next" class="py-name" href="#" onclick="return doclink('link-46', 'next', 'link-16');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line">                 </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">unichr</tt><tt class="py-op">(</tt><tt class="py-name">entity</tt><tt class="py-op">)</tt> </tt>
<a name="L218"></a><tt class="py-lineno">218</tt>  <tt class="py-line">                 </tt>
<a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line">             </tt>
<a name="HTMLEntityCodec.initialize_dicts"></a><div id="HTMLEntityCodec.initialize_dicts-def"><a name="L221"></a><tt class="py-lineno">221</tt> <a class="py-toggle" href="#" id="HTMLEntityCodec.initialize_dicts-toggle" onclick="return toggle('HTMLEntityCodec.initialize_dicts');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="esapi.codecs.html_entity.HTMLEntityCodec-class.html#initialize_dicts">initialize_dicts</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="HTMLEntityCodec.initialize_dicts-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HTMLEntityCodec.initialize_dicts-expanded"><a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">        <tt class="py-docstring">"""Initializes the HTML entity and value dictionaries"""</tt> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line">         </tt>
<a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_values_to_names</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt>
<a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line">        <tt class="py-number">34</tt> <tt class="py-op">:</tt> <tt class="py-string">"quot"</tt><tt class="py-op">,</tt> <tt class="py-comment"># quotation mark</tt> </tt>
<a name="L226"></a><tt class="py-lineno">226</tt>  <tt class="py-line">        <tt class="py-number">38</tt> <tt class="py-op">:</tt> <tt class="py-string">"amp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># ampersand</tt> </tt>
<a name="L227"></a><tt class="py-lineno">227</tt>  <tt class="py-line">        <tt class="py-number">60</tt> <tt class="py-op">:</tt> <tt class="py-string">"lt"</tt><tt class="py-op">,</tt> <tt class="py-comment"># less-than sign</tt> </tt>
<a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line">        <tt class="py-number">62</tt> <tt class="py-op">:</tt> <tt class="py-string">"gt"</tt><tt class="py-op">,</tt> <tt class="py-comment"># greater-than sign</tt> </tt>
<a name="L229"></a><tt class="py-lineno">229</tt>  <tt class="py-line">        <tt class="py-number">160</tt> <tt class="py-op">:</tt> <tt class="py-string">"nbsp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># no-break space</tt> </tt>
<a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line">        <tt class="py-number">161</tt> <tt class="py-op">:</tt> <tt class="py-string">"iexcl"</tt><tt class="py-op">,</tt> <tt class="py-comment"># inverted exclamation mark</tt> </tt>
<a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line">        <tt class="py-number">162</tt> <tt class="py-op">:</tt> <tt class="py-string">"cent"</tt><tt class="py-op">,</tt> <tt class="py-comment"># cent sign</tt> </tt>
<a name="L232"></a><tt class="py-lineno">232</tt>  <tt class="py-line">        <tt class="py-number">163</tt> <tt class="py-op">:</tt> <tt class="py-string">"pound"</tt><tt class="py-op">,</tt> <tt class="py-comment"># pound sign</tt> </tt>
<a name="L233"></a><tt class="py-lineno">233</tt>  <tt class="py-line">        <tt class="py-number">164</tt> <tt class="py-op">:</tt> <tt class="py-string">"curren"</tt><tt class="py-op">,</tt> <tt class="py-comment"># currency sign</tt> </tt>
<a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line">        <tt class="py-number">165</tt> <tt class="py-op">:</tt> <tt class="py-string">"yen"</tt><tt class="py-op">,</tt> <tt class="py-comment"># yen sign</tt> </tt>
<a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line">        <tt class="py-number">166</tt> <tt class="py-op">:</tt> <tt class="py-string">"brvbar"</tt><tt class="py-op">,</tt> <tt class="py-comment"># broken bar</tt> </tt>
<a name="L236"></a><tt class="py-lineno">236</tt>  <tt class="py-line">        <tt class="py-number">167</tt> <tt class="py-op">:</tt> <tt class="py-string">"sect"</tt><tt class="py-op">,</tt> <tt class="py-comment"># section sign</tt> </tt>
<a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line">        <tt class="py-number">168</tt> <tt class="py-op">:</tt> <tt class="py-string">"uml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># diaeresis</tt> </tt>
<a name="L238"></a><tt class="py-lineno">238</tt>  <tt class="py-line">        <tt class="py-number">169</tt> <tt class="py-op">:</tt> <tt class="py-string">"copy"</tt><tt class="py-op">,</tt> <tt class="py-comment"># copyright sign</tt> </tt>
<a name="L239"></a><tt class="py-lineno">239</tt>  <tt class="py-line">        <tt class="py-number">170</tt> <tt class="py-op">:</tt> <tt class="py-string">"ordf"</tt><tt class="py-op">,</tt> <tt class="py-comment"># feminine ordinal indicator</tt> </tt>
<a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line">        <tt class="py-number">171</tt> <tt class="py-op">:</tt> <tt class="py-string">"laquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left-pointing double angle quotation mark</tt> </tt>
<a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line">        <tt class="py-number">172</tt> <tt class="py-op">:</tt> <tt class="py-string">"not"</tt><tt class="py-op">,</tt> <tt class="py-comment"># not sign</tt> </tt>
<a name="L242"></a><tt class="py-lineno">242</tt>  <tt class="py-line">        <tt class="py-number">173</tt> <tt class="py-op">:</tt> <tt class="py-string">"shy"</tt><tt class="py-op">,</tt> <tt class="py-comment"># soft hyphen</tt> </tt>
<a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line">        <tt class="py-number">174</tt> <tt class="py-op">:</tt> <tt class="py-string">"reg"</tt><tt class="py-op">,</tt> <tt class="py-comment"># registered sign</tt> </tt>
<a name="L244"></a><tt class="py-lineno">244</tt>  <tt class="py-line">        <tt class="py-number">175</tt> <tt class="py-op">:</tt> <tt class="py-string">"macr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># macron</tt> </tt>
<a name="L245"></a><tt class="py-lineno">245</tt>  <tt class="py-line">        <tt class="py-number">176</tt> <tt class="py-op">:</tt> <tt class="py-string">"deg"</tt><tt class="py-op">,</tt> <tt class="py-comment"># degree sign</tt> </tt>
<a name="L246"></a><tt class="py-lineno">246</tt>  <tt class="py-line">        <tt class="py-number">177</tt> <tt class="py-op">:</tt> <tt class="py-string">"plusmn"</tt><tt class="py-op">,</tt> <tt class="py-comment"># plus-minus sign</tt> </tt>
<a name="L247"></a><tt class="py-lineno">247</tt>  <tt class="py-line">        <tt class="py-number">178</tt> <tt class="py-op">:</tt> <tt class="py-string">"sup2"</tt><tt class="py-op">,</tt> <tt class="py-comment"># superscript two</tt> </tt>
<a name="L248"></a><tt class="py-lineno">248</tt>  <tt class="py-line">        <tt class="py-number">179</tt> <tt class="py-op">:</tt> <tt class="py-string">"sup3"</tt><tt class="py-op">,</tt> <tt class="py-comment"># superscript three</tt> </tt>
<a name="L249"></a><tt class="py-lineno">249</tt>  <tt class="py-line">        <tt class="py-number">180</tt> <tt class="py-op">:</tt> <tt class="py-string">"acute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># acute accent</tt> </tt>
<a name="L250"></a><tt class="py-lineno">250</tt>  <tt class="py-line">        <tt class="py-number">181</tt> <tt class="py-op">:</tt> <tt class="py-string">"micro"</tt><tt class="py-op">,</tt> <tt class="py-comment"># micro sign</tt> </tt>
<a name="L251"></a><tt class="py-lineno">251</tt>  <tt class="py-line">        <tt class="py-number">182</tt> <tt class="py-op">:</tt> <tt class="py-string">"para"</tt><tt class="py-op">,</tt> <tt class="py-comment"># pilcrow sign</tt> </tt>
<a name="L252"></a><tt class="py-lineno">252</tt>  <tt class="py-line">        <tt class="py-number">183</tt> <tt class="py-op">:</tt> <tt class="py-string">"middot"</tt><tt class="py-op">,</tt> <tt class="py-comment"># middle dot</tt> </tt>
<a name="L253"></a><tt class="py-lineno">253</tt>  <tt class="py-line">        <tt class="py-number">184</tt> <tt class="py-op">:</tt> <tt class="py-string">"cedil"</tt><tt class="py-op">,</tt> <tt class="py-comment"># cedilla</tt> </tt>
<a name="L254"></a><tt class="py-lineno">254</tt>  <tt class="py-line">        <tt class="py-number">185</tt> <tt class="py-op">:</tt> <tt class="py-string">"sup1"</tt><tt class="py-op">,</tt> <tt class="py-comment"># superscript one</tt> </tt>
<a name="L255"></a><tt class="py-lineno">255</tt>  <tt class="py-line">        <tt class="py-number">186</tt> <tt class="py-op">:</tt> <tt class="py-string">"ordm"</tt><tt class="py-op">,</tt> <tt class="py-comment"># masculine ordinal indicator</tt> </tt>
<a name="L256"></a><tt class="py-lineno">256</tt>  <tt class="py-line">        <tt class="py-number">187</tt> <tt class="py-op">:</tt> <tt class="py-string">"raquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># right-pointing double angle quotation mark</tt> </tt>
<a name="L257"></a><tt class="py-lineno">257</tt>  <tt class="py-line">        <tt class="py-number">188</tt> <tt class="py-op">:</tt> <tt class="py-string">"frac14"</tt><tt class="py-op">,</tt> <tt class="py-comment"># vulgar fraction one quarter</tt> </tt>
<a name="L258"></a><tt class="py-lineno">258</tt>  <tt class="py-line">        <tt class="py-number">189</tt> <tt class="py-op">:</tt> <tt class="py-string">"frac12"</tt><tt class="py-op">,</tt> <tt class="py-comment"># vulgar fraction one half</tt> </tt>
<a name="L259"></a><tt class="py-lineno">259</tt>  <tt class="py-line">        <tt class="py-number">190</tt> <tt class="py-op">:</tt> <tt class="py-string">"frac34"</tt><tt class="py-op">,</tt> <tt class="py-comment"># vulgar fraction three quarters</tt> </tt>
<a name="L260"></a><tt class="py-lineno">260</tt>  <tt class="py-line">        <tt class="py-number">191</tt> <tt class="py-op">:</tt> <tt class="py-string">"iquest"</tt><tt class="py-op">,</tt> <tt class="py-comment"># inverted question mark</tt> </tt>
<a name="L261"></a><tt class="py-lineno">261</tt>  <tt class="py-line">        <tt class="py-number">192</tt> <tt class="py-op">:</tt> <tt class="py-string">"Agrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter a with grave</tt> </tt>
<a name="L262"></a><tt class="py-lineno">262</tt>  <tt class="py-line">        <tt class="py-number">193</tt> <tt class="py-op">:</tt> <tt class="py-string">"Aacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter a with acute</tt> </tt>
<a name="L263"></a><tt class="py-lineno">263</tt>  <tt class="py-line">        <tt class="py-number">194</tt> <tt class="py-op">:</tt> <tt class="py-string">"Acirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter a with circumflex</tt> </tt>
<a name="L264"></a><tt class="py-lineno">264</tt>  <tt class="py-line">        <tt class="py-number">195</tt> <tt class="py-op">:</tt> <tt class="py-string">"Atilde"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter a with tilde</tt> </tt>
<a name="L265"></a><tt class="py-lineno">265</tt>  <tt class="py-line">        <tt class="py-number">196</tt> <tt class="py-op">:</tt> <tt class="py-string">"Auml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter a with diaeresis</tt> </tt>
<a name="L266"></a><tt class="py-lineno">266</tt>  <tt class="py-line">        <tt class="py-number">197</tt> <tt class="py-op">:</tt> <tt class="py-string">"Aring"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter a with ring above</tt> </tt>
<a name="L267"></a><tt class="py-lineno">267</tt>  <tt class="py-line">        <tt class="py-number">198</tt> <tt class="py-op">:</tt> <tt class="py-string">"AElig"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter ae</tt> </tt>
<a name="L268"></a><tt class="py-lineno">268</tt>  <tt class="py-line">        <tt class="py-number">199</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ccedil"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter c with cedilla</tt> </tt>
<a name="L269"></a><tt class="py-lineno">269</tt>  <tt class="py-line">        <tt class="py-number">200</tt> <tt class="py-op">:</tt> <tt class="py-string">"Egrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter e with grave</tt> </tt>
<a name="L270"></a><tt class="py-lineno">270</tt>  <tt class="py-line">        <tt class="py-number">201</tt> <tt class="py-op">:</tt> <tt class="py-string">"Eacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter e with acute</tt> </tt>
<a name="L271"></a><tt class="py-lineno">271</tt>  <tt class="py-line">        <tt class="py-number">202</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ecirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter e with circumflex</tt> </tt>
<a name="L272"></a><tt class="py-lineno">272</tt>  <tt class="py-line">        <tt class="py-number">203</tt> <tt class="py-op">:</tt> <tt class="py-string">"Euml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter e with diaeresis</tt> </tt>
<a name="L273"></a><tt class="py-lineno">273</tt>  <tt class="py-line">        <tt class="py-number">204</tt> <tt class="py-op">:</tt> <tt class="py-string">"Igrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter i with grave</tt> </tt>
<a name="L274"></a><tt class="py-lineno">274</tt>  <tt class="py-line">        <tt class="py-number">205</tt> <tt class="py-op">:</tt> <tt class="py-string">"Iacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter i with acute</tt> </tt>
<a name="L275"></a><tt class="py-lineno">275</tt>  <tt class="py-line">        <tt class="py-number">206</tt> <tt class="py-op">:</tt> <tt class="py-string">"Icirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter i with circumflex</tt> </tt>
<a name="L276"></a><tt class="py-lineno">276</tt>  <tt class="py-line">        <tt class="py-number">207</tt> <tt class="py-op">:</tt> <tt class="py-string">"Iuml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter i with diaeresis</tt> </tt>
<a name="L277"></a><tt class="py-lineno">277</tt>  <tt class="py-line">        <tt class="py-number">208</tt> <tt class="py-op">:</tt> <tt class="py-string">"ETH"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter eth</tt> </tt>
<a name="L278"></a><tt class="py-lineno">278</tt>  <tt class="py-line">        <tt class="py-number">209</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ntilde"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter n with tilde</tt> </tt>
<a name="L279"></a><tt class="py-lineno">279</tt>  <tt class="py-line">        <tt class="py-number">210</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ograve"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter o with grave</tt> </tt>
<a name="L280"></a><tt class="py-lineno">280</tt>  <tt class="py-line">        <tt class="py-number">211</tt> <tt class="py-op">:</tt> <tt class="py-string">"Oacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter o with acute</tt> </tt>
<a name="L281"></a><tt class="py-lineno">281</tt>  <tt class="py-line">        <tt class="py-number">212</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ocirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter o with circumflex</tt> </tt>
<a name="L282"></a><tt class="py-lineno">282</tt>  <tt class="py-line">        <tt class="py-number">213</tt> <tt class="py-op">:</tt> <tt class="py-string">"Otilde"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter o with tilde</tt> </tt>
<a name="L283"></a><tt class="py-lineno">283</tt>  <tt class="py-line">        <tt class="py-number">214</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ouml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter o with diaeresis</tt> </tt>
<a name="L284"></a><tt class="py-lineno">284</tt>  <tt class="py-line">        <tt class="py-number">215</tt> <tt class="py-op">:</tt> <tt class="py-string">"times"</tt><tt class="py-op">,</tt> <tt class="py-comment"># multiplication sign</tt> </tt>
<a name="L285"></a><tt class="py-lineno">285</tt>  <tt class="py-line">        <tt class="py-number">216</tt> <tt class="py-op">:</tt> <tt class="py-string">"Oslash"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter o with stroke</tt> </tt>
<a name="L286"></a><tt class="py-lineno">286</tt>  <tt class="py-line">        <tt class="py-number">217</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ugrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter u with grave</tt> </tt>
<a name="L287"></a><tt class="py-lineno">287</tt>  <tt class="py-line">        <tt class="py-number">218</tt> <tt class="py-op">:</tt> <tt class="py-string">"Uacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter u with acute</tt> </tt>
<a name="L288"></a><tt class="py-lineno">288</tt>  <tt class="py-line">        <tt class="py-number">219</tt> <tt class="py-op">:</tt> <tt class="py-string">"Ucirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter u with circumflex</tt> </tt>
<a name="L289"></a><tt class="py-lineno">289</tt>  <tt class="py-line">        <tt class="py-number">220</tt> <tt class="py-op">:</tt> <tt class="py-string">"Uuml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter u with diaeresis</tt> </tt>
<a name="L290"></a><tt class="py-lineno">290</tt>  <tt class="py-line">        <tt class="py-number">221</tt> <tt class="py-op">:</tt> <tt class="py-string">"Yacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter y with acute</tt> </tt>
<a name="L291"></a><tt class="py-lineno">291</tt>  <tt class="py-line">        <tt class="py-number">222</tt> <tt class="py-op">:</tt> <tt class="py-string">"THORN"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter thorn</tt> </tt>
<a name="L292"></a><tt class="py-lineno">292</tt>  <tt class="py-line">        <tt class="py-number">223</tt> <tt class="py-op">:</tt> <tt class="py-string">"szlig"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter sharp s, German Eszett</tt> </tt>
<a name="L293"></a><tt class="py-lineno">293</tt>  <tt class="py-line">        <tt class="py-number">224</tt> <tt class="py-op">:</tt> <tt class="py-string">"agrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter a with grave</tt> </tt>
<a name="L294"></a><tt class="py-lineno">294</tt>  <tt class="py-line">        <tt class="py-number">225</tt> <tt class="py-op">:</tt> <tt class="py-string">"aacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter a with acute</tt> </tt>
<a name="L295"></a><tt class="py-lineno">295</tt>  <tt class="py-line">        <tt class="py-number">226</tt> <tt class="py-op">:</tt> <tt class="py-string">"acirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter a with circumflex</tt> </tt>
<a name="L296"></a><tt class="py-lineno">296</tt>  <tt class="py-line">        <tt class="py-number">227</tt> <tt class="py-op">:</tt> <tt class="py-string">"atilde"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter a with tilde</tt> </tt>
<a name="L297"></a><tt class="py-lineno">297</tt>  <tt class="py-line">        <tt class="py-number">228</tt> <tt class="py-op">:</tt> <tt class="py-string">"auml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter a with diaeresis</tt> </tt>
<a name="L298"></a><tt class="py-lineno">298</tt>  <tt class="py-line">        <tt class="py-number">229</tt> <tt class="py-op">:</tt> <tt class="py-string">"aring"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter a with ring above</tt> </tt>
<a name="L299"></a><tt class="py-lineno">299</tt>  <tt class="py-line">        <tt class="py-number">230</tt> <tt class="py-op">:</tt> <tt class="py-string">"aelig"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin lowercase ligature ae</tt> </tt>
<a name="L300"></a><tt class="py-lineno">300</tt>  <tt class="py-line">        <tt class="py-number">231</tt> <tt class="py-op">:</tt> <tt class="py-string">"ccedil"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter c with cedilla</tt> </tt>
<a name="L301"></a><tt class="py-lineno">301</tt>  <tt class="py-line">        <tt class="py-number">232</tt> <tt class="py-op">:</tt> <tt class="py-string">"egrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter e with grave</tt> </tt>
<a name="L302"></a><tt class="py-lineno">302</tt>  <tt class="py-line">        <tt class="py-number">233</tt> <tt class="py-op">:</tt> <tt class="py-string">"eacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter e with acute</tt> </tt>
<a name="L303"></a><tt class="py-lineno">303</tt>  <tt class="py-line">        <tt class="py-number">234</tt> <tt class="py-op">:</tt> <tt class="py-string">"ecirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter e with circumflex</tt> </tt>
<a name="L304"></a><tt class="py-lineno">304</tt>  <tt class="py-line">        <tt class="py-number">235</tt> <tt class="py-op">:</tt> <tt class="py-string">"euml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter e with diaeresis</tt> </tt>
<a name="L305"></a><tt class="py-lineno">305</tt>  <tt class="py-line">        <tt class="py-number">236</tt> <tt class="py-op">:</tt> <tt class="py-string">"igrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter i with grave</tt> </tt>
<a name="L306"></a><tt class="py-lineno">306</tt>  <tt class="py-line">        <tt class="py-number">237</tt> <tt class="py-op">:</tt> <tt class="py-string">"iacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter i with acute</tt> </tt>
<a name="L307"></a><tt class="py-lineno">307</tt>  <tt class="py-line">        <tt class="py-number">238</tt> <tt class="py-op">:</tt> <tt class="py-string">"icirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter i with circumflex</tt> </tt>
<a name="L308"></a><tt class="py-lineno">308</tt>  <tt class="py-line">        <tt class="py-number">239</tt> <tt class="py-op">:</tt> <tt class="py-string">"iuml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter i with diaeresis</tt> </tt>
<a name="L309"></a><tt class="py-lineno">309</tt>  <tt class="py-line">        <tt class="py-number">240</tt> <tt class="py-op">:</tt> <tt class="py-string">"eth"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter eth</tt> </tt>
<a name="L310"></a><tt class="py-lineno">310</tt>  <tt class="py-line">        <tt class="py-number">241</tt> <tt class="py-op">:</tt> <tt class="py-string">"ntilde"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter n with tilde</tt> </tt>
<a name="L311"></a><tt class="py-lineno">311</tt>  <tt class="py-line">        <tt class="py-number">242</tt> <tt class="py-op">:</tt> <tt class="py-string">"ograve"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter o with grave</tt> </tt>
<a name="L312"></a><tt class="py-lineno">312</tt>  <tt class="py-line">        <tt class="py-number">243</tt> <tt class="py-op">:</tt> <tt class="py-string">"oacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter o with acute</tt> </tt>
<a name="L313"></a><tt class="py-lineno">313</tt>  <tt class="py-line">        <tt class="py-number">244</tt> <tt class="py-op">:</tt> <tt class="py-string">"ocirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter o with circumflex</tt> </tt>
<a name="L314"></a><tt class="py-lineno">314</tt>  <tt class="py-line">        <tt class="py-number">245</tt> <tt class="py-op">:</tt> <tt class="py-string">"otilde"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter o with tilde</tt> </tt>
<a name="L315"></a><tt class="py-lineno">315</tt>  <tt class="py-line">        <tt class="py-number">246</tt> <tt class="py-op">:</tt> <tt class="py-string">"ouml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter o with diaeresis</tt> </tt>
<a name="L316"></a><tt class="py-lineno">316</tt>  <tt class="py-line">        <tt class="py-number">247</tt> <tt class="py-op">:</tt> <tt class="py-string">"divide"</tt><tt class="py-op">,</tt> <tt class="py-comment"># division sign</tt> </tt>
<a name="L317"></a><tt class="py-lineno">317</tt>  <tt class="py-line">        <tt class="py-number">248</tt> <tt class="py-op">:</tt> <tt class="py-string">"oslash"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter o with stroke</tt> </tt>
<a name="L318"></a><tt class="py-lineno">318</tt>  <tt class="py-line">        <tt class="py-number">249</tt> <tt class="py-op">:</tt> <tt class="py-string">"ugrave"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter u with grave</tt> </tt>
<a name="L319"></a><tt class="py-lineno">319</tt>  <tt class="py-line">        <tt class="py-number">250</tt> <tt class="py-op">:</tt> <tt class="py-string">"uacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter u with acute</tt> </tt>
<a name="L320"></a><tt class="py-lineno">320</tt>  <tt class="py-line">        <tt class="py-number">251</tt> <tt class="py-op">:</tt> <tt class="py-string">"ucirc"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter u with circumflex</tt> </tt>
<a name="L321"></a><tt class="py-lineno">321</tt>  <tt class="py-line">        <tt class="py-number">252</tt> <tt class="py-op">:</tt> <tt class="py-string">"uuml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter u with diaeresis</tt> </tt>
<a name="L322"></a><tt class="py-lineno">322</tt>  <tt class="py-line">        <tt class="py-number">253</tt> <tt class="py-op">:</tt> <tt class="py-string">"yacute"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter y with acute</tt> </tt>
<a name="L323"></a><tt class="py-lineno">323</tt>  <tt class="py-line">        <tt class="py-number">254</tt> <tt class="py-op">:</tt> <tt class="py-string">"thorn"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter thorn</tt> </tt>
<a name="L324"></a><tt class="py-lineno">324</tt>  <tt class="py-line">        <tt class="py-number">255</tt> <tt class="py-op">:</tt> <tt class="py-string">"yuml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter y with diaeresis</tt> </tt>
<a name="L325"></a><tt class="py-lineno">325</tt>  <tt class="py-line">        <tt class="py-number">338</tt> <tt class="py-op">:</tt> <tt class="py-string">"OElig"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital ligature oe</tt> </tt>
<a name="L326"></a><tt class="py-lineno">326</tt>  <tt class="py-line">        <tt class="py-number">339</tt> <tt class="py-op">:</tt> <tt class="py-string">"oelig"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small ligature oe</tt> </tt>
<a name="L327"></a><tt class="py-lineno">327</tt>  <tt class="py-line">        <tt class="py-number">352</tt> <tt class="py-op">:</tt> <tt class="py-string">"Scaron"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter s with caron</tt> </tt>
<a name="L328"></a><tt class="py-lineno">328</tt>  <tt class="py-line">        <tt class="py-number">353</tt> <tt class="py-op">:</tt> <tt class="py-string">"scaron"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter s with caron</tt> </tt>
<a name="L329"></a><tt class="py-lineno">329</tt>  <tt class="py-line">        <tt class="py-number">376</tt> <tt class="py-op">:</tt> <tt class="py-string">"Yuml"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin capital letter y with diaeresis</tt> </tt>
<a name="L330"></a><tt class="py-lineno">330</tt>  <tt class="py-line">        <tt class="py-number">402</tt> <tt class="py-op">:</tt> <tt class="py-string">"fnof"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Latin small letter f with hook</tt> </tt>
<a name="L331"></a><tt class="py-lineno">331</tt>  <tt class="py-line">        <tt class="py-number">710</tt> <tt class="py-op">:</tt> <tt class="py-string">"circ"</tt><tt class="py-op">,</tt> <tt class="py-comment"># modifier letter circumflex accent</tt> </tt>
<a name="L332"></a><tt class="py-lineno">332</tt>  <tt class="py-line">        <tt class="py-number">732</tt> <tt class="py-op">:</tt> <tt class="py-string">"tilde"</tt><tt class="py-op">,</tt> <tt class="py-comment"># small tilde</tt> </tt>
<a name="L333"></a><tt class="py-lineno">333</tt>  <tt class="py-line">        <tt class="py-number">913</tt> <tt class="py-op">:</tt> <tt class="py-string">"Alpha"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter alpha</tt> </tt>
<a name="L334"></a><tt class="py-lineno">334</tt>  <tt class="py-line">        <tt class="py-number">914</tt> <tt class="py-op">:</tt> <tt class="py-string">"Beta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter beta</tt> </tt>
<a name="L335"></a><tt class="py-lineno">335</tt>  <tt class="py-line">        <tt class="py-number">915</tt> <tt class="py-op">:</tt> <tt class="py-string">"Gamma"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter gamma</tt> </tt>
<a name="L336"></a><tt class="py-lineno">336</tt>  <tt class="py-line">        <tt class="py-number">916</tt> <tt class="py-op">:</tt> <tt class="py-string">"Delta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter delta</tt> </tt>
<a name="L337"></a><tt class="py-lineno">337</tt>  <tt class="py-line">        <tt class="py-number">917</tt> <tt class="py-op">:</tt> <tt class="py-string">"Epsilon"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter epsilon</tt> </tt>
<a name="L338"></a><tt class="py-lineno">338</tt>  <tt class="py-line">        <tt class="py-number">918</tt> <tt class="py-op">:</tt> <tt class="py-string">"Zeta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter zeta</tt> </tt>
<a name="L339"></a><tt class="py-lineno">339</tt>  <tt class="py-line">        <tt class="py-number">919</tt> <tt class="py-op">:</tt> <tt class="py-string">"Eta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter eta</tt> </tt>
<a name="L340"></a><tt class="py-lineno">340</tt>  <tt class="py-line">        <tt class="py-number">920</tt> <tt class="py-op">:</tt> <tt class="py-string">"Theta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter theta</tt> </tt>
<a name="L341"></a><tt class="py-lineno">341</tt>  <tt class="py-line">        <tt class="py-number">921</tt> <tt class="py-op">:</tt> <tt class="py-string">"Iota"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter iota</tt> </tt>
<a name="L342"></a><tt class="py-lineno">342</tt>  <tt class="py-line">        <tt class="py-number">922</tt> <tt class="py-op">:</tt> <tt class="py-string">"Kappa"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter kappa</tt> </tt>
<a name="L343"></a><tt class="py-lineno">343</tt>  <tt class="py-line">        <tt class="py-number">923</tt> <tt class="py-op">:</tt> <tt class="py-string">"Lambda"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter lambda</tt> </tt>
<a name="L344"></a><tt class="py-lineno">344</tt>  <tt class="py-line">        <tt class="py-number">924</tt> <tt class="py-op">:</tt> <tt class="py-string">"Mu"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter mu</tt> </tt>
<a name="L345"></a><tt class="py-lineno">345</tt>  <tt class="py-line">        <tt class="py-number">925</tt> <tt class="py-op">:</tt> <tt class="py-string">"Nu"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter nu</tt> </tt>
<a name="L346"></a><tt class="py-lineno">346</tt>  <tt class="py-line">        <tt class="py-number">926</tt> <tt class="py-op">:</tt> <tt class="py-string">"Xi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter xi</tt> </tt>
<a name="L347"></a><tt class="py-lineno">347</tt>  <tt class="py-line">        <tt class="py-number">927</tt> <tt class="py-op">:</tt> <tt class="py-string">"Omicron"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter omicron</tt> </tt>
<a name="L348"></a><tt class="py-lineno">348</tt>  <tt class="py-line">        <tt class="py-number">928</tt> <tt class="py-op">:</tt> <tt class="py-string">"Pi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter pi</tt> </tt>
<a name="L349"></a><tt class="py-lineno">349</tt>  <tt class="py-line">        <tt class="py-number">929</tt> <tt class="py-op">:</tt> <tt class="py-string">"Rho"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter rho</tt> </tt>
<a name="L350"></a><tt class="py-lineno">350</tt>  <tt class="py-line">        <tt class="py-number">931</tt> <tt class="py-op">:</tt> <tt class="py-string">"Sigma"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter sigma</tt> </tt>
<a name="L351"></a><tt class="py-lineno">351</tt>  <tt class="py-line">        <tt class="py-number">932</tt> <tt class="py-op">:</tt> <tt class="py-string">"Tau"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter tau</tt> </tt>
<a name="L352"></a><tt class="py-lineno">352</tt>  <tt class="py-line">        <tt class="py-number">933</tt> <tt class="py-op">:</tt> <tt class="py-string">"Upsilon"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter upsilon</tt> </tt>
<a name="L353"></a><tt class="py-lineno">353</tt>  <tt class="py-line">        <tt class="py-number">934</tt> <tt class="py-op">:</tt> <tt class="py-string">"Phi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter phi</tt> </tt>
<a name="L354"></a><tt class="py-lineno">354</tt>  <tt class="py-line">        <tt class="py-number">935</tt> <tt class="py-op">:</tt> <tt class="py-string">"Chi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter chi</tt> </tt>
<a name="L355"></a><tt class="py-lineno">355</tt>  <tt class="py-line">        <tt class="py-number">936</tt> <tt class="py-op">:</tt> <tt class="py-string">"Psi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter psi</tt> </tt>
<a name="L356"></a><tt class="py-lineno">356</tt>  <tt class="py-line">        <tt class="py-number">937</tt> <tt class="py-op">:</tt> <tt class="py-string">"Omega"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek capital letter omega</tt> </tt>
<a name="L357"></a><tt class="py-lineno">357</tt>  <tt class="py-line">        <tt class="py-number">945</tt> <tt class="py-op">:</tt> <tt class="py-string">"alpha"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter alpha</tt> </tt>
<a name="L358"></a><tt class="py-lineno">358</tt>  <tt class="py-line">        <tt class="py-number">946</tt> <tt class="py-op">:</tt> <tt class="py-string">"beta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter beta</tt> </tt>
<a name="L359"></a><tt class="py-lineno">359</tt>  <tt class="py-line">        <tt class="py-number">947</tt> <tt class="py-op">:</tt> <tt class="py-string">"gamma"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter gamma</tt> </tt>
<a name="L360"></a><tt class="py-lineno">360</tt>  <tt class="py-line">        <tt class="py-number">948</tt> <tt class="py-op">:</tt> <tt class="py-string">"delta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter delta</tt> </tt>
<a name="L361"></a><tt class="py-lineno">361</tt>  <tt class="py-line">        <tt class="py-number">949</tt> <tt class="py-op">:</tt> <tt class="py-string">"epsilon"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter epsilon</tt> </tt>
<a name="L362"></a><tt class="py-lineno">362</tt>  <tt class="py-line">        <tt class="py-number">950</tt> <tt class="py-op">:</tt> <tt class="py-string">"zeta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter zeta</tt> </tt>
<a name="L363"></a><tt class="py-lineno">363</tt>  <tt class="py-line">        <tt class="py-number">951</tt> <tt class="py-op">:</tt> <tt class="py-string">"eta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter eta</tt> </tt>
<a name="L364"></a><tt class="py-lineno">364</tt>  <tt class="py-line">        <tt class="py-number">952</tt> <tt class="py-op">:</tt> <tt class="py-string">"theta"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter theta</tt> </tt>
<a name="L365"></a><tt class="py-lineno">365</tt>  <tt class="py-line">        <tt class="py-number">953</tt> <tt class="py-op">:</tt> <tt class="py-string">"iota"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter iota</tt> </tt>
<a name="L366"></a><tt class="py-lineno">366</tt>  <tt class="py-line">        <tt class="py-number">954</tt> <tt class="py-op">:</tt> <tt class="py-string">"kappa"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter kappa</tt> </tt>
<a name="L367"></a><tt class="py-lineno">367</tt>  <tt class="py-line">        <tt class="py-number">955</tt> <tt class="py-op">:</tt> <tt class="py-string">"lambda"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter lambda</tt> </tt>
<a name="L368"></a><tt class="py-lineno">368</tt>  <tt class="py-line">        <tt class="py-number">956</tt> <tt class="py-op">:</tt> <tt class="py-string">"mu"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter mu</tt> </tt>
<a name="L369"></a><tt class="py-lineno">369</tt>  <tt class="py-line">        <tt class="py-number">957</tt> <tt class="py-op">:</tt> <tt class="py-string">"nu"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter nu</tt> </tt>
<a name="L370"></a><tt class="py-lineno">370</tt>  <tt class="py-line">        <tt class="py-number">958</tt> <tt class="py-op">:</tt> <tt class="py-string">"xi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter xi</tt> </tt>
<a name="L371"></a><tt class="py-lineno">371</tt>  <tt class="py-line">        <tt class="py-number">959</tt> <tt class="py-op">:</tt> <tt class="py-string">"omicron"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter omicron</tt> </tt>
<a name="L372"></a><tt class="py-lineno">372</tt>  <tt class="py-line">        <tt class="py-number">960</tt> <tt class="py-op">:</tt> <tt class="py-string">"pi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter pi</tt> </tt>
<a name="L373"></a><tt class="py-lineno">373</tt>  <tt class="py-line">        <tt class="py-number">961</tt> <tt class="py-op">:</tt> <tt class="py-string">"rho"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter rho</tt> </tt>
<a name="L374"></a><tt class="py-lineno">374</tt>  <tt class="py-line">        <tt class="py-number">962</tt> <tt class="py-op">:</tt> <tt class="py-string">"sigmaf"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter final sigma</tt> </tt>
<a name="L375"></a><tt class="py-lineno">375</tt>  <tt class="py-line">        <tt class="py-number">963</tt> <tt class="py-op">:</tt> <tt class="py-string">"sigma"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter sigma</tt> </tt>
<a name="L376"></a><tt class="py-lineno">376</tt>  <tt class="py-line">        <tt class="py-number">964</tt> <tt class="py-op">:</tt> <tt class="py-string">"tau"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter tau</tt> </tt>
<a name="L377"></a><tt class="py-lineno">377</tt>  <tt class="py-line">        <tt class="py-number">965</tt> <tt class="py-op">:</tt> <tt class="py-string">"upsilon"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter upsilon</tt> </tt>
<a name="L378"></a><tt class="py-lineno">378</tt>  <tt class="py-line">        <tt class="py-number">966</tt> <tt class="py-op">:</tt> <tt class="py-string">"phi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter phi</tt> </tt>
<a name="L379"></a><tt class="py-lineno">379</tt>  <tt class="py-line">        <tt class="py-number">967</tt> <tt class="py-op">:</tt> <tt class="py-string">"chi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter chi</tt> </tt>
<a name="L380"></a><tt class="py-lineno">380</tt>  <tt class="py-line">        <tt class="py-number">968</tt> <tt class="py-op">:</tt> <tt class="py-string">"psi"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter psi</tt> </tt>
<a name="L381"></a><tt class="py-lineno">381</tt>  <tt class="py-line">        <tt class="py-number">969</tt> <tt class="py-op">:</tt> <tt class="py-string">"omega"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek small letter omega</tt> </tt>
<a name="L382"></a><tt class="py-lineno">382</tt>  <tt class="py-line">        <tt class="py-number">977</tt> <tt class="py-op">:</tt> <tt class="py-string">"thetasym"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek theta symbol</tt> </tt>
<a name="L383"></a><tt class="py-lineno">383</tt>  <tt class="py-line">        <tt class="py-number">978</tt> <tt class="py-op">:</tt> <tt class="py-string">"upsih"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek upsilon with hook symbol</tt> </tt>
<a name="L384"></a><tt class="py-lineno">384</tt>  <tt class="py-line">        <tt class="py-number">982</tt> <tt class="py-op">:</tt> <tt class="py-string">"piv"</tt><tt class="py-op">,</tt> <tt class="py-comment"># Greek pi symbol</tt> </tt>
<a name="L385"></a><tt class="py-lineno">385</tt>  <tt class="py-line">        <tt class="py-number">8194</tt> <tt class="py-op">:</tt> <tt class="py-string">"ensp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># en space</tt> </tt>
<a name="L386"></a><tt class="py-lineno">386</tt>  <tt class="py-line">        <tt class="py-number">8195</tt> <tt class="py-op">:</tt> <tt class="py-string">"emsp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># em space</tt> </tt>
<a name="L387"></a><tt class="py-lineno">387</tt>  <tt class="py-line">        <tt class="py-number">8201</tt> <tt class="py-op">:</tt> <tt class="py-string">"thinsp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># thin space</tt> </tt>
<a name="L388"></a><tt class="py-lineno">388</tt>  <tt class="py-line">        <tt class="py-number">8204</tt> <tt class="py-op">:</tt> <tt class="py-string">"zwnj"</tt><tt class="py-op">,</tt> <tt class="py-comment"># zero width non-joiner</tt> </tt>
<a name="L389"></a><tt class="py-lineno">389</tt>  <tt class="py-line">        <tt class="py-number">8205</tt> <tt class="py-op">:</tt> <tt class="py-string">"zwj"</tt><tt class="py-op">,</tt> <tt class="py-comment"># zero width joiner</tt> </tt>
<a name="L390"></a><tt class="py-lineno">390</tt>  <tt class="py-line">        <tt class="py-number">8206</tt> <tt class="py-op">:</tt> <tt class="py-string">"lrm"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left-to-right mark</tt> </tt>
<a name="L391"></a><tt class="py-lineno">391</tt>  <tt class="py-line">        <tt class="py-number">8207</tt> <tt class="py-op">:</tt> <tt class="py-string">"rlm"</tt><tt class="py-op">,</tt> <tt class="py-comment"># right-to-left mark</tt> </tt>
<a name="L392"></a><tt class="py-lineno">392</tt>  <tt class="py-line">        <tt class="py-number">8211</tt> <tt class="py-op">:</tt> <tt class="py-string">"ndash"</tt><tt class="py-op">,</tt> <tt class="py-comment"># en dash</tt> </tt>
<a name="L393"></a><tt class="py-lineno">393</tt>  <tt class="py-line">        <tt class="py-number">8212</tt> <tt class="py-op">:</tt> <tt class="py-string">"mdash"</tt><tt class="py-op">,</tt> <tt class="py-comment"># em dash</tt> </tt>
<a name="L394"></a><tt class="py-lineno">394</tt>  <tt class="py-line">        <tt class="py-number">8216</tt> <tt class="py-op">:</tt> <tt class="py-string">"lsquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left single quotation mark</tt> </tt>
<a name="L395"></a><tt class="py-lineno">395</tt>  <tt class="py-line">        <tt class="py-number">8217</tt> <tt class="py-op">:</tt> <tt class="py-string">"rsquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># right single quotation mark</tt> </tt>
<a name="L396"></a><tt class="py-lineno">396</tt>  <tt class="py-line">        <tt class="py-number">8218</tt> <tt class="py-op">:</tt> <tt class="py-string">"bufquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># single low-9 quotation mark</tt> </tt>
<a name="L397"></a><tt class="py-lineno">397</tt>  <tt class="py-line">        <tt class="py-number">8220</tt> <tt class="py-op">:</tt> <tt class="py-string">"ldquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left double quotation mark</tt> </tt>
<a name="L398"></a><tt class="py-lineno">398</tt>  <tt class="py-line">        <tt class="py-number">8221</tt> <tt class="py-op">:</tt> <tt class="py-string">"rdquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># right double quotation mark</tt> </tt>
<a name="L399"></a><tt class="py-lineno">399</tt>  <tt class="py-line">        <tt class="py-number">8222</tt> <tt class="py-op">:</tt> <tt class="py-string">"bdquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># double low-9 quotation mark</tt> </tt>
<a name="L400"></a><tt class="py-lineno">400</tt>  <tt class="py-line">        <tt class="py-number">8224</tt> <tt class="py-op">:</tt> <tt class="py-string">"dagger"</tt><tt class="py-op">,</tt> <tt class="py-comment"># dagger</tt> </tt>
<a name="L401"></a><tt class="py-lineno">401</tt>  <tt class="py-line">        <tt class="py-number">8225</tt> <tt class="py-op">:</tt> <tt class="py-string">"Dagger"</tt><tt class="py-op">,</tt> <tt class="py-comment"># double dagger</tt> </tt>
<a name="L402"></a><tt class="py-lineno">402</tt>  <tt class="py-line">        <tt class="py-number">8226</tt> <tt class="py-op">:</tt> <tt class="py-string">"bull"</tt><tt class="py-op">,</tt> <tt class="py-comment"># bullet</tt> </tt>
<a name="L403"></a><tt class="py-lineno">403</tt>  <tt class="py-line">        <tt class="py-number">8230</tt> <tt class="py-op">:</tt> <tt class="py-string">"hellip"</tt><tt class="py-op">,</tt> <tt class="py-comment"># horizontal ellipsis</tt> </tt>
<a name="L404"></a><tt class="py-lineno">404</tt>  <tt class="py-line">        <tt class="py-number">8240</tt> <tt class="py-op">:</tt> <tt class="py-string">"permil"</tt><tt class="py-op">,</tt> <tt class="py-comment"># per mille sign</tt> </tt>
<a name="L405"></a><tt class="py-lineno">405</tt>  <tt class="py-line">        <tt class="py-number">8242</tt> <tt class="py-op">:</tt> <tt class="py-string">"prime"</tt><tt class="py-op">,</tt> <tt class="py-comment"># prime</tt> </tt>
<a name="L406"></a><tt class="py-lineno">406</tt>  <tt class="py-line">        <tt class="py-number">8243</tt> <tt class="py-op">:</tt> <tt class="py-string">"Prime"</tt><tt class="py-op">,</tt> <tt class="py-comment"># double prime</tt> </tt>
<a name="L407"></a><tt class="py-lineno">407</tt>  <tt class="py-line">        <tt class="py-number">8249</tt> <tt class="py-op">:</tt> <tt class="py-string">"lsaquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># single left-pointing angle quotation mark</tt> </tt>
<a name="L408"></a><tt class="py-lineno">408</tt>  <tt class="py-line">        <tt class="py-number">8250</tt> <tt class="py-op">:</tt> <tt class="py-string">"rsaquo"</tt><tt class="py-op">,</tt> <tt class="py-comment"># single right-pointing angle quotation mark</tt> </tt>
<a name="L409"></a><tt class="py-lineno">409</tt>  <tt class="py-line">        <tt class="py-number">8254</tt> <tt class="py-op">:</tt> <tt class="py-string">"oline"</tt><tt class="py-op">,</tt> <tt class="py-comment"># overline</tt> </tt>
<a name="L410"></a><tt class="py-lineno">410</tt>  <tt class="py-line">        <tt class="py-number">8260</tt> <tt class="py-op">:</tt> <tt class="py-string">"frasl"</tt><tt class="py-op">,</tt> <tt class="py-comment"># fraction slash</tt> </tt>
<a name="L411"></a><tt class="py-lineno">411</tt>  <tt class="py-line">        <tt class="py-number">8364</tt> <tt class="py-op">:</tt> <tt class="py-string">"euro"</tt><tt class="py-op">,</tt> <tt class="py-comment"># euro sign</tt> </tt>
<a name="L412"></a><tt class="py-lineno">412</tt>  <tt class="py-line">        <tt class="py-number">8465</tt> <tt class="py-op">:</tt> <tt class="py-string">"image"</tt><tt class="py-op">,</tt> <tt class="py-comment"># black-letter capital i</tt> </tt>
<a name="L413"></a><tt class="py-lineno">413</tt>  <tt class="py-line">        <tt class="py-number">8472</tt> <tt class="py-op">:</tt> <tt class="py-string">"weierp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># script capital p, Weierstrass p</tt> </tt>
<a name="L414"></a><tt class="py-lineno">414</tt>  <tt class="py-line">        <tt class="py-number">8476</tt> <tt class="py-op">:</tt> <tt class="py-string">"real"</tt><tt class="py-op">,</tt> <tt class="py-comment"># black-letter capital r</tt> </tt>
<a name="L415"></a><tt class="py-lineno">415</tt>  <tt class="py-line">        <tt class="py-number">8482</tt> <tt class="py-op">:</tt> <tt class="py-string">"trade"</tt><tt class="py-op">,</tt> <tt class="py-comment"># trademark sign</tt> </tt>
<a name="L416"></a><tt class="py-lineno">416</tt>  <tt class="py-line">        <tt class="py-number">8501</tt> <tt class="py-op">:</tt> <tt class="py-string">"alefsym"</tt><tt class="py-op">,</tt> <tt class="py-comment"># alef symbol</tt> </tt>
<a name="L417"></a><tt class="py-lineno">417</tt>  <tt class="py-line">        <tt class="py-number">8592</tt> <tt class="py-op">:</tt> <tt class="py-string">"larr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># leftwards arrow</tt> </tt>
<a name="L418"></a><tt class="py-lineno">418</tt>  <tt class="py-line">        <tt class="py-number">8593</tt> <tt class="py-op">:</tt> <tt class="py-string">"uarr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># upwards arrow</tt> </tt>
<a name="L419"></a><tt class="py-lineno">419</tt>  <tt class="py-line">        <tt class="py-number">8594</tt> <tt class="py-op">:</tt> <tt class="py-string">"rarr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># rightwards arrow</tt> </tt>
<a name="L420"></a><tt class="py-lineno">420</tt>  <tt class="py-line">        <tt class="py-number">8595</tt> <tt class="py-op">:</tt> <tt class="py-string">"darr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># downwards arrow</tt> </tt>
<a name="L421"></a><tt class="py-lineno">421</tt>  <tt class="py-line">        <tt class="py-number">8596</tt> <tt class="py-op">:</tt> <tt class="py-string">"harr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left right arrow</tt> </tt>
<a name="L422"></a><tt class="py-lineno">422</tt>  <tt class="py-line">        <tt class="py-number">8629</tt> <tt class="py-op">:</tt> <tt class="py-string">"crarr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># downwards arrow with corner leftwards</tt> </tt>
<a name="L423"></a><tt class="py-lineno">423</tt>  <tt class="py-line">        <tt class="py-number">8656</tt> <tt class="py-op">:</tt> <tt class="py-string">"lArr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># leftwards double arrow</tt> </tt>
<a name="L424"></a><tt class="py-lineno">424</tt>  <tt class="py-line">        <tt class="py-number">8657</tt> <tt class="py-op">:</tt> <tt class="py-string">"uArr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># upwards double arrow</tt> </tt>
<a name="L425"></a><tt class="py-lineno">425</tt>  <tt class="py-line">        <tt class="py-number">8658</tt> <tt class="py-op">:</tt> <tt class="py-string">"rArr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># rightwards double arrow</tt> </tt>
<a name="L426"></a><tt class="py-lineno">426</tt>  <tt class="py-line">        <tt class="py-number">8659</tt> <tt class="py-op">:</tt> <tt class="py-string">"dArr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># downwards double arrow</tt> </tt>
<a name="L427"></a><tt class="py-lineno">427</tt>  <tt class="py-line">        <tt class="py-number">8660</tt> <tt class="py-op">:</tt> <tt class="py-string">"hArr"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left right double arrow</tt> </tt>
<a name="L428"></a><tt class="py-lineno">428</tt>  <tt class="py-line">        <tt class="py-number">8704</tt> <tt class="py-op">:</tt> <tt class="py-string">"forall"</tt><tt class="py-op">,</tt> <tt class="py-comment"># for all</tt> </tt>
<a name="L429"></a><tt class="py-lineno">429</tt>  <tt class="py-line">        <tt class="py-number">8706</tt> <tt class="py-op">:</tt> <tt class="py-string">"part"</tt><tt class="py-op">,</tt> <tt class="py-comment"># partial differential</tt> </tt>
<a name="L430"></a><tt class="py-lineno">430</tt>  <tt class="py-line">        <tt class="py-number">8707</tt> <tt class="py-op">:</tt> <tt class="py-string">"exist"</tt><tt class="py-op">,</tt> <tt class="py-comment"># there exists</tt> </tt>
<a name="L431"></a><tt class="py-lineno">431</tt>  <tt class="py-line">        <tt class="py-number">8709</tt> <tt class="py-op">:</tt> <tt class="py-string">"empty"</tt><tt class="py-op">,</tt> <tt class="py-comment"># empty set</tt> </tt>
<a name="L432"></a><tt class="py-lineno">432</tt>  <tt class="py-line">        <tt class="py-number">8711</tt> <tt class="py-op">:</tt> <tt class="py-string">"nabla"</tt><tt class="py-op">,</tt> <tt class="py-comment"># nabla</tt> </tt>
<a name="L433"></a><tt class="py-lineno">433</tt>  <tt class="py-line">        <tt class="py-number">8712</tt> <tt class="py-op">:</tt> <tt class="py-string">"isin"</tt><tt class="py-op">,</tt> <tt class="py-comment"># element of</tt> </tt>
<a name="L434"></a><tt class="py-lineno">434</tt>  <tt class="py-line">        <tt class="py-number">8713</tt> <tt class="py-op">:</tt> <tt class="py-string">"notin"</tt><tt class="py-op">,</tt> <tt class="py-comment"># not an element of</tt> </tt>
<a name="L435"></a><tt class="py-lineno">435</tt>  <tt class="py-line">        <tt class="py-number">8715</tt> <tt class="py-op">:</tt> <tt class="py-string">"ni"</tt><tt class="py-op">,</tt> <tt class="py-comment"># contains as member</tt> </tt>
<a name="L436"></a><tt class="py-lineno">436</tt>  <tt class="py-line">        <tt class="py-number">8719</tt> <tt class="py-op">:</tt> <tt class="py-string">"prod"</tt><tt class="py-op">,</tt> <tt class="py-comment"># n-ary product</tt> </tt>
<a name="L437"></a><tt class="py-lineno">437</tt>  <tt class="py-line">        <tt class="py-number">8721</tt> <tt class="py-op">:</tt> <tt class="py-string">"sum"</tt><tt class="py-op">,</tt> <tt class="py-comment"># n-ary summation</tt> </tt>
<a name="L438"></a><tt class="py-lineno">438</tt>  <tt class="py-line">        <tt class="py-number">8722</tt> <tt class="py-op">:</tt> <tt class="py-string">"minus"</tt><tt class="py-op">,</tt> <tt class="py-comment"># minus sign</tt> </tt>
<a name="L439"></a><tt class="py-lineno">439</tt>  <tt class="py-line">        <tt class="py-number">8727</tt> <tt class="py-op">:</tt> <tt class="py-string">"lowast"</tt><tt class="py-op">,</tt> <tt class="py-comment"># asterisk operator</tt> </tt>
<a name="L440"></a><tt class="py-lineno">440</tt>  <tt class="py-line">        <tt class="py-number">8730</tt> <tt class="py-op">:</tt> <tt class="py-string">"radic"</tt><tt class="py-op">,</tt> <tt class="py-comment"># square root</tt> </tt>
<a name="L441"></a><tt class="py-lineno">441</tt>  <tt class="py-line">        <tt class="py-number">8733</tt> <tt class="py-op">:</tt> <tt class="py-string">"prop"</tt><tt class="py-op">,</tt> <tt class="py-comment"># proportional to</tt> </tt>
<a name="L442"></a><tt class="py-lineno">442</tt>  <tt class="py-line">        <tt class="py-number">8734</tt> <tt class="py-op">:</tt> <tt class="py-string">"infin"</tt><tt class="py-op">,</tt> <tt class="py-comment"># infinity</tt> </tt>
<a name="L443"></a><tt class="py-lineno">443</tt>  <tt class="py-line">        <tt class="py-number">8736</tt> <tt class="py-op">:</tt> <tt class="py-string">"ang"</tt><tt class="py-op">,</tt> <tt class="py-comment"># angle</tt> </tt>
<a name="L444"></a><tt class="py-lineno">444</tt>  <tt class="py-line">        <tt class="py-number">8743</tt> <tt class="py-op">:</tt> <tt class="py-string">"and"</tt><tt class="py-op">,</tt> <tt class="py-comment"># logical and</tt> </tt>
<a name="L445"></a><tt class="py-lineno">445</tt>  <tt class="py-line">        <tt class="py-number">8744</tt> <tt class="py-op">:</tt> <tt class="py-string">"or"</tt><tt class="py-op">,</tt> <tt class="py-comment"># logical or</tt> </tt>
<a name="L446"></a><tt class="py-lineno">446</tt>  <tt class="py-line">        <tt class="py-number">8745</tt> <tt class="py-op">:</tt> <tt class="py-string">"cap"</tt><tt class="py-op">,</tt> <tt class="py-comment"># intersection</tt> </tt>
<a name="L447"></a><tt class="py-lineno">447</tt>  <tt class="py-line">        <tt class="py-number">8746</tt> <tt class="py-op">:</tt> <tt class="py-string">"cup"</tt><tt class="py-op">,</tt> <tt class="py-comment"># union</tt> </tt>
<a name="L448"></a><tt class="py-lineno">448</tt>  <tt class="py-line">        <tt class="py-number">8747</tt> <tt class="py-op">:</tt> <tt class="py-string">"int"</tt><tt class="py-op">,</tt> <tt class="py-comment"># integral</tt> </tt>
<a name="L449"></a><tt class="py-lineno">449</tt>  <tt class="py-line">        <tt class="py-number">8756</tt> <tt class="py-op">:</tt> <tt class="py-string">"there4"</tt><tt class="py-op">,</tt> <tt class="py-comment"># therefore</tt> </tt>
<a name="L450"></a><tt class="py-lineno">450</tt>  <tt class="py-line">        <tt class="py-number">8764</tt> <tt class="py-op">:</tt> <tt class="py-string">"sim"</tt><tt class="py-op">,</tt> <tt class="py-comment"># tilde operator</tt> </tt>
<a name="L451"></a><tt class="py-lineno">451</tt>  <tt class="py-line">        <tt class="py-number">8773</tt> <tt class="py-op">:</tt> <tt class="py-string">"cong"</tt><tt class="py-op">,</tt> <tt class="py-comment"># congruent to</tt> </tt>
<a name="L452"></a><tt class="py-lineno">452</tt>  <tt class="py-line">        <tt class="py-number">8776</tt> <tt class="py-op">:</tt> <tt class="py-string">"asymp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># almost equal to</tt> </tt>
<a name="L453"></a><tt class="py-lineno">453</tt>  <tt class="py-line">        <tt class="py-number">8800</tt> <tt class="py-op">:</tt> <tt class="py-string">"ne"</tt><tt class="py-op">,</tt> <tt class="py-comment"># not equal to</tt> </tt>
<a name="L454"></a><tt class="py-lineno">454</tt>  <tt class="py-line">        <tt class="py-number">8801</tt> <tt class="py-op">:</tt> <tt class="py-string">"equiv"</tt><tt class="py-op">,</tt> <tt class="py-comment"># identical to, equivalent to</tt> </tt>
<a name="L455"></a><tt class="py-lineno">455</tt>  <tt class="py-line">        <tt class="py-number">8804</tt> <tt class="py-op">:</tt> <tt class="py-string">"le"</tt><tt class="py-op">,</tt> <tt class="py-comment"># less-than or equal to</tt> </tt>
<a name="L456"></a><tt class="py-lineno">456</tt>  <tt class="py-line">        <tt class="py-number">8805</tt> <tt class="py-op">:</tt> <tt class="py-string">"ge"</tt><tt class="py-op">,</tt> <tt class="py-comment"># greater-than or equal to</tt> </tt>
<a name="L457"></a><tt class="py-lineno">457</tt>  <tt class="py-line">        <tt class="py-number">8834</tt> <tt class="py-op">:</tt> <tt class="py-string">"sub"</tt><tt class="py-op">,</tt> <tt class="py-comment"># subset of</tt> </tt>
<a name="L458"></a><tt class="py-lineno">458</tt>  <tt class="py-line">        <tt class="py-number">8835</tt> <tt class="py-op">:</tt> <tt class="py-string">"sup"</tt><tt class="py-op">,</tt> <tt class="py-comment"># superset of</tt> </tt>
<a name="L459"></a><tt class="py-lineno">459</tt>  <tt class="py-line">        <tt class="py-number">8836</tt> <tt class="py-op">:</tt> <tt class="py-string">"nsub"</tt><tt class="py-op">,</tt> <tt class="py-comment"># not a subset of</tt> </tt>
<a name="L460"></a><tt class="py-lineno">460</tt>  <tt class="py-line">        <tt class="py-number">8838</tt> <tt class="py-op">:</tt> <tt class="py-string">"sube"</tt><tt class="py-op">,</tt> <tt class="py-comment"># subset of or equal to</tt> </tt>
<a name="L461"></a><tt class="py-lineno">461</tt>  <tt class="py-line">        <tt class="py-number">8839</tt> <tt class="py-op">:</tt> <tt class="py-string">"supe"</tt><tt class="py-op">,</tt> <tt class="py-comment"># superset of or equal to</tt> </tt>
<a name="L462"></a><tt class="py-lineno">462</tt>  <tt class="py-line">        <tt class="py-number">8853</tt> <tt class="py-op">:</tt> <tt class="py-string">"oplus"</tt><tt class="py-op">,</tt> <tt class="py-comment"># circled plus</tt> </tt>
<a name="L463"></a><tt class="py-lineno">463</tt>  <tt class="py-line">        <tt class="py-number">8855</tt> <tt class="py-op">:</tt> <tt class="py-string">"otimes"</tt><tt class="py-op">,</tt> <tt class="py-comment"># circled times</tt> </tt>
<a name="L464"></a><tt class="py-lineno">464</tt>  <tt class="py-line">        <tt class="py-number">8869</tt> <tt class="py-op">:</tt> <tt class="py-string">"perp"</tt><tt class="py-op">,</tt> <tt class="py-comment"># up tack</tt> </tt>
<a name="L465"></a><tt class="py-lineno">465</tt>  <tt class="py-line">        <tt class="py-number">8901</tt> <tt class="py-op">:</tt> <tt class="py-string">"sdot"</tt><tt class="py-op">,</tt> <tt class="py-comment"># dot operator</tt> </tt>
<a name="L466"></a><tt class="py-lineno">466</tt>  <tt class="py-line">        <tt class="py-number">8968</tt> <tt class="py-op">:</tt> <tt class="py-string">"lceil"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left ceiling</tt> </tt>
<a name="L467"></a><tt class="py-lineno">467</tt>  <tt class="py-line">        <tt class="py-number">8969</tt> <tt class="py-op">:</tt> <tt class="py-string">"rceil"</tt><tt class="py-op">,</tt> <tt class="py-comment"># right ceiling</tt> </tt>
<a name="L468"></a><tt class="py-lineno">468</tt>  <tt class="py-line">        <tt class="py-number">8970</tt> <tt class="py-op">:</tt> <tt class="py-string">"lfloor"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left floor</tt> </tt>
<a name="L469"></a><tt class="py-lineno">469</tt>  <tt class="py-line">        <tt class="py-number">8971</tt> <tt class="py-op">:</tt> <tt class="py-string">"rfloor"</tt><tt class="py-op">,</tt> <tt class="py-comment"># right floor</tt> </tt>
<a name="L470"></a><tt class="py-lineno">470</tt>  <tt class="py-line">        <tt class="py-number">9001</tt> <tt class="py-op">:</tt> <tt class="py-string">"lang"</tt><tt class="py-op">,</tt> <tt class="py-comment"># left-pointing angle bracket</tt> </tt>
<a name="L471"></a><tt class="py-lineno">471</tt>  <tt class="py-line">        <tt class="py-number">9002</tt> <tt class="py-op">:</tt> <tt class="py-string">"rang"</tt><tt class="py-op">,</tt> <tt class="py-comment"># right-pointing angle bracket</tt> </tt>
<a name="L472"></a><tt class="py-lineno">472</tt>  <tt class="py-line">        <tt class="py-number">9674</tt> <tt class="py-op">:</tt> <tt class="py-string">"loz"</tt><tt class="py-op">,</tt> <tt class="py-comment"># lozenge</tt> </tt>
<a name="L473"></a><tt class="py-lineno">473</tt>  <tt class="py-line">        <tt class="py-number">9824</tt> <tt class="py-op">:</tt> <tt class="py-string">"spades"</tt><tt class="py-op">,</tt> <tt class="py-comment"># black spade suit</tt> </tt>
<a name="L474"></a><tt class="py-lineno">474</tt>  <tt class="py-line">        <tt class="py-number">9827</tt> <tt class="py-op">:</tt> <tt class="py-string">"clubs"</tt><tt class="py-op">,</tt> <tt class="py-comment"># black club suit</tt> </tt>
<a name="L475"></a><tt class="py-lineno">475</tt>  <tt class="py-line">        <tt class="py-number">9829</tt> <tt class="py-op">:</tt> <tt class="py-string">"hearts"</tt><tt class="py-op">,</tt> <tt class="py-comment"># black heart suit</tt> </tt>
<a name="L476"></a><tt class="py-lineno">476</tt>  <tt class="py-line">        <tt class="py-number">9830</tt> <tt class="py-op">:</tt> <tt class="py-string">"diams"</tt><tt class="py-op">,</tt> <tt class="py-comment"># black diamond suit</tt> </tt>
<a name="L477"></a><tt class="py-lineno">477</tt>  <tt class="py-line">        <tt class="py-op">}</tt> </tt>
<a name="L478"></a><tt class="py-lineno">478</tt>  <tt class="py-line">         </tt>
<a name="L479"></a><tt class="py-lineno">479</tt>  <tt class="py-line">        <tt class="py-comment"># Invert the dict</tt> </tt>
<a name="L480"></a><tt class="py-lineno">480</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_names_to_values</tt> <tt class="py-op">=</tt> <tt class="py-name">dict</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-name">v</tt><tt class="py-op">,</tt> <tt class="py-name">k</tt><tt class="py-op">]</tt>  </tt>
<a name="L481"></a><tt class="py-lineno">481</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">k</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">entity_values_to_names</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L482"></a><tt class="py-lineno">482</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="esapi-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Nov  8 16:04:24 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
